home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
idioms.lha
/
idioms
/
10-1.c
next >
Wrap
C/C++ Source or Header
|
1993-08-08
|
469b
|
25 lines
/* Copyright (c) 1992 by AT&T Bell Laboratories. */
/* Advanced C++ Programming Styles and Idioms */
/* James O. Coplien */
/* All rights reserved. */
class Window {
public:
virtual void addch(char);
virtual void addstr(string);
virtual void clear();
. . . .
private:
Color curColor;
};
class CursesWindow : public Window {
public:
void addch(char);
void addstr(String);
void clear();
. . . .
private:
WINDOW *cursesWindow;
};